:root {
  --color-opacity: 1;
  --shadow-opacity-before: 0.5;
  --text-color: rgba(114, 98, 232, var(--color-opacity, 1));
}
figure,
img,
picture,
video {
  display: block;
  max-width: 100%;
}
a {
  --transition-short: 0.25s cubic-bezier(0.5, 0, 0.5, 1);
  color: var(--link-color, var(--color-purple));
  text-decoration: none;
  -webkit-transition: color var(--transition-short);
  -o-transition: color var(--transition-short);
  transition: color var(--transition-short);
}
.spread {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
}
.center {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
}
.justify-start {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}
.between > * + * {
  -webkit-margin-start: var(--between-spacing, 20px);
  margin-inline-start: var(--between-spacing, 20px);
}
*,
:after,
:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  padding: 0px;
  margin: 0px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
body {
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  min-height: 100vh;
}

.single-content__hero {
  position: relative;
  width: 100%;
  --bg-color: rgba(114, 98, 232, 1);
}
.single-content__hero:after {
  background-color: var(--bg-color);
  content: "";
  height: 100%;
  left: 0;
  opacity: 0.1;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

.single-content__hero-wrap {
  -webkit-padding-before: 50px;
  -webkit-padding-after: 50px;
  -webkit-padding-start: 50px;
  -webkit-padding-end: 50px;
  margin-inline: auto;
  max-width: 1268px;
  padding-block-end: 50px;
  padding-block-start: 50px;
  padding-inline-end: 50px;
  padding-inline-start: 50px;
  position: relative;
  width: 100%;
}

.single-content__hero-inner {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
  flex-direction: row;
  gap: 50px;
  justify-content: space-between;
  width: 100%;
}

.single-content__thumbnail {
  --shadow-opacity-before: 0.5;
  background-color: var(--shadow-color);
  border-radius: 9px;
  max-width: 50%;
  width: 100%;
  /*图片*/
  img {
    -webkit-margin-start: auto;
    -webkit-margin-end: auto;
    border-radius: 9px;
    height: 415px;
    margin-inline-end: auto;
    margin-inline-start: auto;
    width: auto;
  }
}

.shadow {
  position: relative;
  z-index: 1;
}
.shadow:before {
  -webkit-box-shadow: var(--shadow-x-before, var(--shadow-x, 0))
    var(--shadow-y-before, var(--shadow-y, 10px))
    var(--shadow-blur-before, var(--shadow-blur, 25px))
    var(--shadow-color-before, var(--shadow-color, var(--color-grey-0)));
  box-shadow: var(--shadow-x-before, var(--shadow-x, 0))
    var(--shadow-y-before, var(--shadow-y, 10px))
    var(--shadow-blur-before, var(--shadow-blur, 25px))
    var(--shadow-color-before, var(--shadow-color, var(--color-grey-0)));
  opacity: var(--shadow-opacity-before, var(--shadow-opacity, 0.3));
}

.shadow:before {
  border-radius: var(--border-radius, 6px);
  content: "";
  display: block;
  height: 100%;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  -webkit-transition: var(--shadow-transition, opacity 0.25s ease-out);
  -o-transition: var(--shadow-transition, opacity 0.25s ease-out);
  transition: var(--shadow-transition, opacity 0.25s ease-out);
  width: 100%;
  z-index: -1;
}
//内容
//分类
.single-content__category {
  color: var(--text-color);
  font-family: Axiforma, Arial, serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
  > a {
    color: inherit;
  }
}

//标题
.single-content__title {
  font-size: 2.8125rem;
  line-height: 1.35;
}
//附加信息
.single-content__meta {
  -webkit-padding-before: 24px;
  -webkit-margin-after: 32px;
  margin-block-end: 32px;
  padding-block-start: 24px;
  .meta__group {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    //介绍信息分隔
    .spread {
      -webkit-box-pack: start;
      -ms-flex-pack: start;
      justify-content: flex-start;
    }
  }

  .author-display {
    padding-right: 30px;
    .author-display__name {
      font-size: 0.875rem;
      font-weight: 700;
      line-height: 1;
      padding-bottom: 2px;

      margin: 0;
    }
    .author-display__position {
      color: #292d34;
      font-size: 0.6875rem;
      font-weight: 400;
      line-height: 1;
      padding-top: 2px;

      margin: 0;
    }
  }
  //分割线
  .vertical-bar {
    opacity: 0.2;
  }
  .meta__info {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    .meta__date,
    .meta__reading {
      font-size: 0.875rem;
      font-weight: 590;
      line-height: 1.35;
      margin: 0;
      padding: 0 40px;
    }
    .vertical-bar {
      margin: 0;
    }
  }
}
//头像
.author-display {
  --between-spacing: 10px; //边距
  a {
    color: currentColor;
  }
  .author-display__image {
    -ms-flex-negative: 0;
    background-color: var(--article-image-primary-color, var(--color-grey-3));
    border-radius: 50%;
    flex-shrink: 0;
    width: var(--author-img-size, 48px);
  }
}

.meta__info {
  font-size: 0.875rem;
}
//分享
.single-content__share-desktop-wrap {
  display: block;
}

.list-reset {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.share__link {
  --transition-short: 0.25s cubic-bezier(0.5, 0, 0.5, 1);
  --shadow-opacity: 0.1;
  --border-radius: 45px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: var(--bg-secondary);
  border-radius: 45px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 45px;
  justify-content: center;
  position: relative;
  -webkit-transition: -webkit-transform var(--transition-short);
  transition: -webkit-transform var(--transition-short);
  -o-transition: transform var(--transition-short);
  transition: transform var(--transition-short);
  transition: transform var(--transition-short),
    -webkit-transform var(--transition-short);
  width: 45px;
}

.share__list {
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-margin-before: 0;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-block-start: 0;
  .share__list-item {
    margin-right: 28px;
  }
  .share__link {
    background: #fff;
    -webkit-box-shadow: 0 20.2778px 60.8333px rgba(16, 30, 54, 0.1);
    box-shadow: 0 20.2778px 60.8333px rgba(16, 30, 54, 0.1);
    height: 60px;
    margin: 0;
    width: 60px;
  }
  svg {
    height: 30px;
    width: 30px;
  }
}
.share__link:hover {
  --shadow-opacity: 0.2;
  --icon-color: #7b68ee;
  cursor: pointer;
  -webkit-transform: translate3d(0, 2px, 0);
  transform: translate3d(0, 2px, 0);
}
.button-reset {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: unset;
  border: none;
  padding: 0;
}

@media (max-width: 1400px) {
  .single-content__thumbnail img {
    -o-object-fit: unset;
    object-fit: unset;
  }
  .single-content__meta {
    .meta__info {
      .meta__date,
      .meta__reading {
        padding: 0 30px;
      }
    }
  }
}
@media (max-width: 1200px) {
  .single-content__thumbnail img {
    -o-object-fit: contain;
    object-fit: contain;
  }
  .single-content__meta {
    .meta__info {
      margin-top: 20px;
      .meta__date,
      .meta__reading {
        padding: 0 20px;
      }
      .meta__date {
        padding-left: 0;
      }
    }
    .meta__group {
      .hidden-svg {
        display: none !important;
      }
    }
  }
}
@media (max-width: 900px) {
  .single-content__hero-wrap {
    -webkit-padding-before: 30px;
    -webkit-padding-after: 30px;
    -webkit-padding-start: 30px;
    -webkit-padding-end: 30px;
    padding-block-end: 30px;
    padding-block-start: 30px;
    padding-inline-end: 30px;
    padding-inline-start: 30px;
  }
  .single-content__hero-inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -ms-flex-direction: column;
    flex-direction: column;
    justify-content: center;
  }
  .single-content__thumbnail {
    height: unset;
    max-width: unset;
    img {
      height: auto;
      -o-object-fit: unset;
      object-fit: unset;
      width: 100%;
    }
  }
  .single-content__title {
    font-size: 2rem;
  }
  .single-content__meta {
    .meta__info {
      -webkit-box-flex: unset;
      -webkit-box-pack: justify;
      -ms-flex-pack: justify;
      -webkit-box-align: baseline;
      -ms-flex-align: baseline;
      align-items: baseline;
      -ms-flex: unset;
      flex: unset;
      justify-content: space-between;
      margin-top: 10px;
      width: 100%;
    }
  }

  .single-content__share-desktop-wrap {
    display: none;
  }
}
@media (max-width: 600px) {
  .single-content__title {
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 420px) {
  .single-content__thumbnail {
    img {
      max-width: 300px;
    }
  }
}
